package com.marvels.approve.loan.dto;

import java.util.Map;
import java.util.TreeMap;

public class ApiResponseDTO<T> {

    private Map header;
    private T body;

    public ApiResponseDTO() {
        this.header = new TreeMap();
    }

    public ApiResponseDTO(Map header, T body) {
        this.header = header;
        this.body = body;
    }

    public void setHeader(Map header) {
        this.header = header;
    }

    public Map getHeader() {
        return this.header;
    }

    public void setBody(T body) {
        this.body = body;
    }

    public Object getBody() {
        return this.body;
    }

}
